package role

type Role struct {
	name           string
	code           int64
	Level          float64
	Hp             float64
	HpEx           float64
	Atk            float64
	AtkEx          float64
	CritRate       float64
	CritDmg        float64
	Defense        float64
	DefenseEx      float64
	healingBonus   float64
	Increase       float64
	Recharge       float64
	SkillDmg       float64
	Reaction       float64
	Mastery        float64
	Eon            string
	Goblet         string
	Circlet        string
	RoleSpFunc     func(r *Role)
	AtkUseful      bool
	HpUseful       bool
	DefenseUseful  bool
	RechargeUseful bool
	Useful         bool
	MasteryUseful  bool
}

type IRole interface {
	skillA() // 普通攻击
	spIncrease()
}

func NormalRoleSp(r *Role) {

}
func (xiangling *Role) skillA() Role {
	return *xiangling
}

func (xiangling Role) skillE() Role {
	return xiangling
}

func (xiangling Role) skillQ() Role {
	return xiangling
}

func (xiangling Role) spIncrease() Role {
	return xiangling
}
